package com.naiterui.ehp.bs.ds.modules.statistics.vo;

import java.io.Serializable;
import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

/**
 * @author guoyongxiang
 * @date 2019/10/11 13:55
 * @since 1.0.0
 */
@Data
public class OrderStatisticsExcelVO implements Serializable {

    private static final long serialVersionUID = 4805770243627316793L;

    @Excel(name = "订单编号", orderNum = "0", width = 25)
    private String orderSn;

    @Excel(name = "订单金额", orderNum = "1", width = 15, numFormat = "###,##0.00")
    private Double totalAmount;

    @Excel(name = "下单时间", orderNum = "2", format = "yyyy-MM-dd HH:mm:ss", width = 25)
    private Date createdAt;

    @Excel(name = "发货时间", orderNum = "3", format = "yyyy-MM-dd HH:mm:ss", width = 25)
    private Date sendTime;

    @Excel(name = "快递名称", orderNum = "4", width = 20)
    private String expressName;

    @Excel(name = "快递单号", orderNum = "5", width = 20)
    private String expressCode;

    @Excel(name = "订单状态", orderNum = "1", width = 20, replace = {"待付款_1", "处方流转成功_2", "订单已发货_3", "订单已签收_4", "已取消_5",
        "处方流转失败_6", "待审核_7", "订单审核完成_8", "库房分配完成_9", "药店已确认订单_10"})
    private Integer orderStatus;

}
